<div class="margin-top">
    <div class="row margin-top-lg">
        <div class="col-lg-2 padding-right-xs padding-left-xl">
            <input type="text" :placeholder="vc.i18n('请输入巡检人','pointTaskDetail')"
                v-model="pointTaskDetailInfo.planUserName" class=" form-control">
        </div>
        <div class="col-lg-2 padding-right-xs padding-left-xl">
            <input type="text" :placeholder="vc.i18n('请输入实际巡检开始时间','pointTaskDetail')"
                v-model="pointTaskDetailInfo.inspectionStartTime" class=" form-control pointDetailStartTime">
        </div>
        <div class="col-lg-2 padding-right-xs padding-left-xl">
            <input type="text" :placeholder="vc.i18n('请输入实际巡检结束时间','pointTaskDetail')"
                v-model="pointTaskDetailInfo.inspectionEndTime" class=" form-control pointDetailEndTime">
        </div>
        <div class="col-lg-2 padding-right-xs padding-right-xl">
            <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
                v-on:click="_qureyPointTaskDetail()">
                <i class="fa fa-search"></i>查询
            </button>
        </div>
        <div class="col-lg-8 text-right">
        </div>
    </div>
    <div class="margin-top">
        <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
            <thead>
                <tr>
                    <th class="text-center">
                        <vc:i18n name="任务详情ID" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="巡检点名称" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="巡检计划名称" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="巡检路线名称" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <span>
                            <vc:i18n name="巡检人" namespace="pointTaskDetail"></vc:i18n>
                        </span><br />
                        <span>
                            <vc:i18n name="开始/结束时间" namespace="pointTaskDetail"></vc:i18n>
                        </span>
                    </th>
                    <th class="text-center">
                        <span>
                            <vc:i18n name="巡检点" namespace="pointTaskDetail"></vc:i18n>
                        </span><br />
                        <span>
                            <vc:i18n name="开始/结束时间" namespace="pointTaskDetail"></vc:i18n>
                        </span>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="实际巡检时间" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="实际签到状态" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="计划巡检人" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="实际巡检人" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="巡检方式" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="任务状态" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="巡检点状态" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="巡检情况" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="巡检照片" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="创建时间" namespace="pointTaskDetail"></vc:i18n>
                    </th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="inspectionTask in pointTaskDetailInfo.details">
                    <td class="text-center">{{inspectionTask.taskDetailId}}</td>
                    <td class="text-center">{{inspectionTask.inspectionName}}</td>
                    <td class="text-center">{{inspectionTask.inspectionPlanName}}</td>
                    <td class="text-center">{{inspectionTask.routeName}}</td>
                    <td class="text-center">{{inspectionTask.planInsTime}}<br />{{inspectionTask.planEndTime}}
                    </td>
                    <td class="text-center">{{inspectionTask.pointStartTime}}<br />{{inspectionTask.pointEndTime}}
                    </td>
                    <td class="text-center">{{inspectionTask.inspectionTime ? inspectionTask.inspectionTime :
                        '-'}}
                    </td>
                    <td class="text-center text-primary" v-if="inspectionTask.inspectionState == '60000'">
                        {{inspectionTask.inspectionStateName ? inspectionTask.inspectionStateName : '-'}}
                    </td>
                    <td class="text-center text-danger font-bold" v-else>{{inspectionTask.inspectionStateName ?
                        inspectionTask.inspectionStateName : '-'}}
                    </td>
                    <td class="text-center">{{inspectionTask.planUserName}}</td>
                    <td class="text-center">{{inspectionTask.actUserName ? inspectionTask.actUserName : '-'}}
                    </td>
                    <td class="text-center">{{inspectionTask.signTypeName}}</td>
                    <td class="text-center">{{inspectionTask.taskStateName}}</td>
                    <td class="text-center text-danger font-bold" v-if="inspectionTask.state == '20200408'">
                        {{inspectionTask.stateName}}
                    </td>
                    <td class="text-center" v-else>{{inspectionTask.stateName}}</td>
                    <!-- <td class="text-center text-danger font-bold" v-if="inspectionTask.patrolType == '20002'">{{inspectionTask.patrolTypeName ? inspectionTask.patrolTypeName : '-'}}</td>
                        <td class="text-center text-primary" v-else>{{inspectionTask.patrolTypeName ? inspectionTask.patrolTypeName : '-'}}</td> -->
                    <td class="text-center text-primary">
                        {{inspectionTask.description ? inspectionTask.description : '-'}}
                    </td>
                    <td class="text-center" style="white-space: nowrap;">
                        <span v-for="_photo in inspectionTask.photos">
                            <img style="width: 60px; height: 60px;" v-bind:src="_photo.url"
                                v-on:click="openFile(_photo)" />
                        </span>
                    </td>
                    <td class="text-center">{{inspectionTask.createTime}}</td>
                </tr>
            </tbody>
        </table>
        <!-- 分页 -->
        <div class="row">
            <div class="col-sm-4">

            </div>
            <div class="col-sm-8">
                <vc:create namespace="pointTaskDetail" path="frame/paginationPlus"></vc:create>
            </div>
        </div>
    </div>
</div>